package com.lanou.pianke.user.web.entity;

public class UserRelation {
    private Long relation_id;
    private Long uid;
    private Long follow_id;
    private Integer isreaded;

    public UserRelation() {
    }

    public UserRelation(Long uid, Long follow_id, Integer isreaded) {
        this.uid = uid;
        this.follow_id = follow_id;
        this.isreaded = isreaded;
    }

    @Override
    public String toString() {
        return "UserRelation{" +
                "relation_id=" + relation_id +
                ", uid=" + uid +
                ", follow_id=" + follow_id +
                ", isreaded=" + isreaded +
                '}';
    }

    public Integer getIsreaded() {
        return isreaded;
    }

    public void setIsreaded(Integer isreaded) {
        this.isreaded = isreaded;
    }

    public Long getRelation_id() {
        return relation_id;
    }

    public void setRelation_id(Long relation_id) {
        this.relation_id = relation_id;
    }

    public Long getUid() {
        return uid;
    }

    public void setUid(Long uid) {
        this.uid = uid;
    }

    public Long getFollow_id() {
        return follow_id;
    }

    public void setFollow_id(Long follow_id) {
        this.follow_id = follow_id;
    }
}
